package com.lyncs.ods.modules.company.mapper;

import com.lyncs.ods.modules.company.model.CompanyContactInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * <p>
 * 企业通讯录 Mapper 接口
 * </p>
 *
 * @author alex
 * @since 2022-03-29
 */
@Mapper
public interface CompanyContactInfoMapper extends BaseMapper<CompanyContactInfo> {

    /**
     * 批量删除
     *
     * @param contactInfos infos
     */
    void removeBatch(@NotNull @Param("list") List<CompanyContactInfo> contactInfos);
}
